#include "pch.h"

#include "dbg_render.h"
#include "EntitiesCore.h"

void Dbg_Render::draw_sphere (const Vector3f &pos, fp32 radius, bool need_unique_color) {
	Entity ent;
	Pipeline trans;
	trans.rotate(0.f, 0.f, 0.f);
	trans.translate(pos.x(), pos.y(), pos.z());
	//trans.setPerspectiveProjection(800, 600, 1.f, 100.f, 60.f);
	ent.setXform(trans);
	ent.needUniqueColor(need_unique_color);
	EntitiesCore::addDbgEntity(ent);
}
